<template>
	<view>
		<view class="cont" :style="{height: height, width: width}">
			<view class="">
				<image src="/static/nodata.png"></image>
			</view>
			<view class="tips">
				- 空空如也 -
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"nodata",
		props:{
			// 背景颜色
			height:{
				type: String,
				default: '25vh'
			},
			width:{
				type: String,
				default: '100vw'
			},
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.cont{
		width: 100vw;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		image{
			width: 200rpx;
			height: 200rpx;
		}
		.tips{
			color: #808080;
			font-size: 24rpx;
			padding: 20rpx 0;
		}
	}
</style>
